Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Telephony /
Chapter 4 - Call Appearances / Call Appearance Reference
Constants


Dial Types

The call appearance structure contains a dialType field. The value in this field, one of the constants defined below, provides information about the dialability and the format of the remote directory number associated with the call.

enum {
   telDNDialable           = 0,
   telDNNorthAmerican      = 1,
   telDNInternational      = 2,
   telDNAlmostDialable     = 3,
   telDNUnknown            = 15
};
Constant descriptions

telDNDialable
The remote directory number is dialable.
telDNNorthAmerican
The remote directory number is a dialable number in 10-digit North American format--a 3-digit area code followed by a 7-digit number.
telDNInternational
The remote directory number is a dialable number in standard international format.
telDNAlmostDialable
The remote directory number is incomplete and therefore not dialable. For example, it may be missing a required prefix, such as 9 or 1.
telDNUnknown
Neither the dialability nor the format of the remote directory number is known.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help